@layout("/common/_form.html",{js:["/assets/reimbursement/reimbursement_add.js"]}){

<form class="layui-form" id="reimbursementForm" lay-filter="reimbursementForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发生日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="occurDate" name="occurDate" placeholder="请输入发生日期" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">金额<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="amount" name="amount" placeholder="请输入金额" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">所属项目</label>
                        <div class="layui-input-block">
                            <select name="projectId" lay-search="" id="projectId">
                                <option value="">直接选择或搜索选择</option>
                                @for(item in projects){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
                            <!--                            <input id="userId" name="userId" placeholder="请输入用户id" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">费用类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="type" lay-search="" id="type" lay-verify="required" required>
                                <option value="">直接选择或搜索选择</option>
                                @for(item in fylx){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="memo" name="memo" placeholder="请输入备注" class="layui-textarea" lay-verify="required" required></textarea>
<!--                            <input id="memo" name="memo" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">用户id<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="userId" name="userId" placeholder="请输入用户id" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}